/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hhx.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 单表生成Entity
 * @author zmy
 * @version 2019-04-12
 */
public class HhxFinance extends DataEntity<HhxFinance> {
	
	private static final long serialVersionUID = 1L;
	private String trade;		// 行业分类
	private String description;		// 项目简况
	private String year1;		// 年份1
	private String income1;		// 银业收入1
	private String profit1;		// 净利润1
	private String year2;		// 年份2
	private String income2;		// 银业收入2
	private String profit2;		// 净利润2
	private String plan;		// 资本规划
	private String type;		// 融资类型
	private String organization;		// 指定机构
	private String ismerge;		// 是否并购0-否1-是
	private String bookurl;		// 商业企划书
	private String extra;		// 其他
	private String userid;		// 提出人id
	private String amt;//融资金额
	private String gotamt;//已融资金
	
	public HhxFinance() {
		super();
	}

	public HhxFinance(String id){
		super(id);
	}

	@Length(min=0, max=20, message="行业分类长度必须介于 0 和 20 之间")
	public String getTrade() {
		return trade;
	}

	public void setTrade(String trade) {
		this.trade = trade;
	}
	
	@Length(min=0, max=255, message="项目简况长度必须介于 0 和 255 之间")
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	@Length(min=0, max=5, message="年份1长度必须介于 0 和 5 之间")
	public String getYear1() {
		return year1;
	}

	public void setYear1(String year1) {
		this.year1 = year1;
	}
	
	@Length(min=0, max=10, message="银业收入1长度必须介于 0 和 10 之间")
	public String getIncome1() {
		return income1;
	}

	public void setIncome1(String income1) {
		this.income1 = income1;
	}
	
	@Length(min=0, max=10, message="净利润1长度必须介于 0 和 10 之间")
	public String getProfit1() {
		return profit1;
	}

	public void setProfit1(String profit1) {
		this.profit1 = profit1;
	}
	
	@Length(min=0, max=5, message="年份2长度必须介于 0 和 5 之间")
	public String getYear2() {
		return year2;
	}

	public void setYear2(String year2) {
		this.year2 = year2;
	}
	
	@Length(min=0, max=10, message="银业收入2长度必须介于 0 和 10 之间")
	public String getIncome2() {
		return income2;
	}

	public void setIncome2(String income2) {
		this.income2 = income2;
	}
	
	@Length(min=0, max=10, message="净利润2长度必须介于 0 和 10 之间")
	public String getProfit2() {
		return profit2;
	}

	public void setProfit2(String profit2) {
		this.profit2 = profit2;
	}
	
	@Length(min=0, max=20, message="资本规划长度必须介于 0 和 20 之间")
	public String getPlan() {
		return plan;
	}

	public void setPlan(String plan) {
		this.plan = plan;
	}
	
	@Length(min=0, max=20, message="融资类型长度必须介于 0 和 20 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@Length(min=0, max=20, message="指定机构长度必须介于 0 和 20 之间")
	public String getOrganization() {
		return organization;
	}

	public void setOrganization(String organization) {
		this.organization = organization;
	}
	
	@Length(min=0, max=2, message="是否并购0-否1-是长度必须介于 0 和 2 之间")
	public String getIsmerge() {
		return ismerge;
	}

	public void setIsmerge(String ismerge) {
		this.ismerge = ismerge;
	}
	
	@Length(min=0, max=50, message="商业企划书长度必须介于 0 和 50 之间")
	public String getBookurl() {
		return bookurl;
	}

	public void setBookurl(String bookurl) {
		this.bookurl = bookurl;
	}
	
	@Length(min=0, max=20, message="其他长度必须介于 0 和 20 之间")
	public String getExtra() {
		return extra;
	}

	public void setExtra(String extra) {
		this.extra = extra;
	}
	
	@Length(min=0, max=32, message="提出人id长度必须介于 0 和 32 之间")
	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getAmt() {
		return amt;
	}

	public void setAmt(String amt) {
		this.amt = amt;
	}

	public String getGotamt() {
		return gotamt;
	}

	public void setGotamt(String gotamt) {
		this.gotamt = gotamt;
	}
	
}